package org.example.service;

import java.io.InputStream;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;

public interface UploadService2Handler {
    void saveChunk(String chunkPath, InputStream inputStream);

    void merge(List<String> chunkFiles, String mergedPath, AtomicBoolean cancel, Runnable onFinished);

    void clean(List<String> needCleanFiles);
}
